package com.zy.datareceiver.binsess.status.mapper;

import com.zy.datareceiver.binsess.status.entity.ObjectMonitoring;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
@Repository
public interface ObjectMonitoringMapper {
    void batchUpdate(@Param("monitoringList") List<ObjectMonitoring> monitoringList);

    void  updateByObj(ObjectMonitoring monitoring);

    void changeNomualStatus(String key);

    void updateRecoverConnectionByType(String key);

    void updateDisConnectionByType(String key);
}
